package com.xuecheng.content.model.dto;

import com.xuecheng.base.exception.ValidationGroups;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author 顾梦
 * @description 教师信息dto
 * @since 2023/7/14
 */
@Data
@ApiModel(value="CourseTeacherDto", description="课程教师信息")
public class CourseTeacherDto {

    /**
     * 课程标识
     */
    @ApiModelProperty(value = "教师id", required = true)
    private Long id;

    /**
     * 课程标识
     */
    @NotEmpty(message = "课程id不能为空")
    @ApiModelProperty(value = "课程id", required = true)
    private Long courseId;

    /**
     * 教师标识
     */
    @NotEmpty(message = "教师姓名不能为空")
    @ApiModelProperty(value = "教师姓名", required = true)
    private String teacherName;

    /**
     * 教师职位
     */
    @NotEmpty(message = "教师职位不能为空")
    @ApiModelProperty(value = "教师职位", required = true)
    private String position;

    /**
     * 教师简介
     */
    @ApiModelProperty(value = "教师简介", required = true)
    private String introduction;

    /**
     * 照片
     */
    @ApiModelProperty(value = "照片", required = true)
    private String photograph;
}
